package brian.android.mvc.bean;


public interface BeanConfig {
	public void initBeans();

	boolean isInitialized();

	public boolean containsKey(String beanId);

	public BeanProxy addBean(BeanConstructor beanConstructor);
	
	public BeanProxy addBean(String beanId, BeanConstructor beanConstructor);
	
	@SuppressWarnings("unchecked")
	public BeanProxy addBean(String beanId, Class beanType, Object ... params);
	
	@SuppressWarnings("unchecked")
	public BeanProxy addBean(String beanId, boolean isSingleton, Class beanType, Object ... params);

	public BeanConstructor getBeanConstructor(String beanId);
}
